/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package vue;

import actionListeners.ActionCreer;
import actionListeners.ActionQuitter;
import actionListeners.ActionRechercher;

import javax.swing.JButton;
import javax.swing.JPanel;

/**
 *
 * @author Simon
 */
public class PanelMenu extends JPanel {

    public PanelMenu() {
        
        JButton boutonCreer = new JButton("Créer");
        boutonCreer.addActionListener(new ActionCreer());
        this.add(boutonCreer);
        
        JButton boutonRechercher = new JButton ("Rechercher");
        boutonRechercher.addActionListener(new ActionRechercher());
        this.add(boutonRechercher);
        
        JButton boutonQuitter = new JButton ("Quitter");
        boutonQuitter.addActionListener(new ActionQuitter());
        this.add(boutonQuitter);
        
        
    }
    
    
    
}
